package com.color.admin.system.entity.vo.menu;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @author HaiQiu
 * @date 2022/1/14
 * 前端菜单路由配置
 */
public class MetaVo {
    /**
     * 显示中文名称。展示在菜单，标签和面包屑等中
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    String title;
    /**
     * 显示图标，建立2级菜单都设置图标，否则菜单折叠都将显示空白
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    String icon;
    /**
     * 类型：菜单，Iframe，外链，按钮
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    String type;
    /**
     * 是否整页打开路由（脱离框架系），例如：fullpage: true
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    Boolean fullpage;
    /**
     * 是否隐藏菜单，大部分用在无需显示在左侧菜单中的页面，比如详情页
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    Boolean hidden;
    /**
     * 高亮左侧菜单的路由地址，比如打开详情页需要高亮列表页的菜单
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    String active;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Boolean getFullpage() {
        return fullpage;
    }

    public void setFullpage(Boolean fullpage) {
        this.fullpage = fullpage;
    }

    public Boolean getHidden() {
        return hidden;
    }

    public void setHidden(Boolean hidden) {
        this.hidden = hidden;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }
}
